package com.lzh.msm.utils;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class TencentMsmUtils implements InitializingBean {
    @Value("${tencentcloud.sms.secretId}")
    private String secretId;
    @Value("${tencentcloud.sms.secretKey}")
    private String secretKey;
    @Value("${tencentcloud.sms.appId}")
    private String appId;


    public static String signName ="畅聊学习经历";
    public static String TemplateId = "963062";
    public static String SECRET_ID;
    public static String SECRET_KEY;
    public static String APP_ID;
    @Override
    public void afterPropertiesSet() throws Exception {
        SECRET_ID = secretId;
        SECRET_KEY = secretKey;
        APP_ID = appId;
    }
}
